package com.yue.rpc.remoting.transport;

import com.yue.rpc.extension.SPI;
import com.yue.rpc.remoting.dto.RpcRequest;

/**
 * @Author zhangqiyue
 * @Description
 * @Date 2023/3/2 15:01
 */
@SPI
public interface RpcRequestTransport {
    /**
     * @description: 发送rpc请求并且获取响应结果
     * @author: zhangqiyue
     * @date: 2023/3/2 15:04
     * @param: [rpcRequest]
     * @return: Object
     **/
    Object sendRpcRequest(RpcRequest rpcRequest);
}
